/*
 * 24/10/2011 - 03:43
 */
package org.nettyflux.remote;

import java.lang.reflect.Method;
import org.nettyflux.communicator.RemoteHost;
import org.nettyflux.mailbox.MailBox;
import org.nettyflux.netmessages.NetworkMessage;

/**
 * @author Victor Williams Stafusa da Silva
 */
public interface StubStrategy {
    public Object handle(
            MailBox<NetworkMessage> mailbox,
            String objectName,
            RemoteHost host,
            Object proxy,
            Method method,
            Object[] args)
            throws Throwable;
}
